<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form action="do_signup.jsp" method="post">
    <input type="text" name="username" placeholder="USERNAME">
    <br>
    <input type="password" name="password" placeholder="PASSWORD">
    <br>
    <input type="submit" value="Sign up">
</form>
<p style="color: #F00;">
    <%
        String message = (String) request.getAttribute("message");
        if (message != null) {
            out.print(message);
        }
    %>
</p>
</body>
</html>